/*
 * @Author: 胡海
 * @Date: 2020-02-10 19:39:49
 * @LastEditors: 胡海
 * @LastEditTime: 2020-04-07 00:37:12
 * @Description: 
 */

module.exports = {
    // prod
    environment: 'dev',
    database: {
        dbName: 'axx',
        host: '122.51.131.9',
        port: 3306,
        user: 'root',
        password: '123456',
    },
    security: {
        secretKey: "abcdefg",
        expiresIn: 60 * 60 * 24 * 30
    },
    wx: {
        appId: '',
        appSecret: '',
        loginUrl: 'https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code'
    },
    yushu: {
        detailUrl: 'http://t.yushu.im/v2/book/id/%s',
        keywordUrl: 'http://t.yushu.im/v2/book/search?q=%s&count=%s&start=%s&summary=%s'
    },
    // host: 'http://localhost:3000/',
    host: 'http://122.51.131.9/dist/api/',
}